package com.itheima.service.db;

import com.itheima.domain.UmsAdminRoleRelation;

import java.util.List;

public interface UmsAdminRoleRelationService {

    //根据adminId查询roleId
    Long findByAdminId(Long adminId);

    List<UmsAdminRoleRelation> findRoleByAdminId(Long adminId);

    void delete(Long adminId);

    void add(UmsAdminRoleRelation adminRoleRelation);

}
